<div class="box border green">
    <div class="box-body big">
        <form class="form-horizontal" role="form">
            <div class="form-group">
                <label class="col-md-3 control-label" for="toId">姓名</label>
                <div class="col-md-9">
                    <!--<input class="form-control" id="toId" type="text" placeholder="必填" ng-model="newMessage.toName">-->
                    <select id="toId" class="form-control" ng-model="newMessage.toId">
                        <option ng-repeat="item in firendWhoSendMePermission" value="{{item.userId}}">{{item.userRealName}}</option>
                    </select>
                </div>
                <br/><br/>
                <label class="col-md-3 control-label" for="message_title">短信标题</label>
                <div class="col-md-9">
                    <input class="form-control" id="message_title" type="text" placeholder="短信标题" ng-model="newMessage.title  ">
                </div>
                <label class="col-md-3 control-label" for="message_content">站内信内容</label>
                <div class="col-md-9">
                    <textarea class="form-control" id="message_content" placeholder="短信内容" ng-model="newMessage.content" rows="5">
                    </textarea>
                </div>
            </div>
        </form>
        <div class="row">
            <div class="col-md-4"></div>
            <div class="col-md-1"><button class="btn btn-success" ng-click="resetMessage()">撤销</button></div>
            <div class="col-md-1"><button class="btn btn-success" ng-click="sendMessage()">发送</button></div>
        </div>
    </div>
</div>